{% extends base %}

{% block body %}

{% init header = "normal" %}

{% if header == "note" %}
    {% include plugin/header/plugin_header_note.html %}
{% else %}
    {% include plugin/header/plugin_header_normal.html %}
{% end %}

<div class="card">
    <div class="plugin-list col-md-12">
        {% if len(plugins) == 0 %}
            <div class="list-item">
                <span>空空如也~</span>
            </div>
        {% end %}

        {% for index, link in enumerate(plugins) %}
            <a class="list-link" href="{{link.link}}">
                <span>{{link.title}}</span>

                <div class="plugin-right-box">
                    {% if link.size != None %}
                        <span class="plugin-right-span">{{link.size}}</span>
                    {% end %}
                    <i class="fa fa-chevron-right"></i>
                </div>
            </a>
        {% end %}
    </div>
</div>
{% end %}
